package d0516_util包;

public class Demo {
	
	public static void main(String[] args) {
		
		StringBuffer sb = new StringBuffer();
		// 链式调用
		sb.append("hello").append("world");
		sb.append("hello");
		sb.append(" world");
		
		System.out.println("abebcdabcdefg".replace('e','a'));
		
	}

}
